#include "CIpodSync.h"

pthread_mutex_t CIpodSync::s_Lock = PTHREAD_MUTEX_INITIALIZER;

void CIpodSync::init() {
    pthread_mutex_init(&s_Lock, NULL);
}

void CIpodSync::deinit() {
    pthread_mutex_destroy(&s_Lock);
}

void CIpodSync::lock() {
    pthread_mutex_lock(&s_Lock);
}

void CIpodSync::unlock() {
    pthread_mutex_unlock(&s_Lock);
}
